package com.itheima.springboot01_04integration;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;

@SpringBootApplication
@MapperScan(value = "com.itheima.springboot01_04integration.dao")
/**
 * @MapperScan(value = "com.itheima.springboot01_04integration.dao")
 * 在引导类上通过@MapperScan(value = "...dao")注解 扫描dao接口 创建动态代理对象
 */
public class SpringBoot0104integrationApplication {

    public static void main(String[] args) {
        SpringApplication.run(SpringBoot0104integrationApplication.class, args);
    }

}
